<%--
  Created by IntelliJ IDEA.
  User: 19654
  Date: 2019/10/13
  Time: 21:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="container">
    <div class="row">
        <div style="margin-left:40px;" class="keshi">
            <c:forEach items="${medList}" var="med">
                <div class="first" onclick="location.href='<%=request.getContextPath()%>/index/illmed?iId=${med.id}'">
                    <div class="col-md-9">
                        <h4>${med.illName}</h4>
                    </div>
                    <div class="col-md-3" style="border-left:1px solid rgb(231, 231, 231);">
                        <h4 class="glyphicon glyphicon-chevron-right"></h4>
                    </div>
                </div>
            </c:forEach>
        </div>
    </div>
</div>
<div class="container">
<div class='container-fluid'>
    <div class='row' id='phone'>
        <c:forEach items="${requestScope.pageInfo.list}" var="medicine">

                <div class='col-md-3'>
                    <div class='thumbnail'>
                            <%--点击图片出现详情页--%>
                        <a href="#">
                            <img src='${medicine.medImages}' alt='通用的占位符缩略图'>
                        </a>
                        <div class='caption' style='overflow:hidden'>
                            <h3 align='center' class='text-success'>${medicine.medName}</h3>
                            <p style='text-align:center'>药品介绍：${medicine.medIntro}</p>
                            <p style='text-align:center'>官方价格：${medicine.medPrice}</p>
                            <p style='text-align:center'>药品类型：${medicine.typeName}</p>
                        </div>
                    </div>
                </div>
        </c:forEach>
    </div>
</div>
</div>
<%@ include file="../nav/page.jsp" %>
